[INFO] cloning repository https://github.com/3pwd/clipstash
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/3pwd/clipstash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3pwd%2Fclipstash", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3pwd%2Fclipstash'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 87e61a56d61690feb0a31f8b6041e65dd7e7f936
[INFO] checking 3pwd/clipstash against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3pwd%2Fclipstash" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/3pwd/clipstash on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/3pwd/clipstash
[INFO] finished tweaking git repo https://github.com/3pwd/clipstash
[INFO] tweaked toml for git repo https://github.com/3pwd/clipstash written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/3pwd/clipstash already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5fc1f942554e387f2a5ef85559eb6aea5d8001814c44d1e809ff890cd4c8fc7e
[INFO] running `Command { std: "docker" "start" "-a" "5fc1f942554e387f2a5ef85559eb6aea5d8001814c44d1e809ff890cd4c8fc7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5fc1f942554e387f2a5ef85559eb6aea5d8001814c44d1e809ff890cd4c8fc7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fc1f942554e387f2a5ef85559eb6aea5d8001814c44d1e809ff890cd4c8fc7e", kill_on_drop: false }`
[INFO] [stdout] 5fc1f942554e387f2a5ef85559eb6aea5d8001814c44d1e809ff890cd4c8fc7e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e440f2e40de203faf1b434e0690221d0679bfbcbef9edf0bc8c2580a5fec7b7
[INFO] running `Command { std: "docker" "start" "-a" "9e440f2e40de203faf1b434e0690221d0679bfbcbef9edf0bc8c2580a5fec7b7", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling once_cell v1.13.1
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]    Compiling tokio v1.21.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]     Checking futures-sink v0.3.24
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling cpufeatures v0.2.4
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking universal-hash v0.4.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]     Checking polyval v0.5.3
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]     Checking sha2 v0.10.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.6
[INFO] [stderr]    Compiling ref-cast v1.0.9
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.24.2
[INFO] [stderr]     Checking ghash v0.4.4
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking ctr v0.8.0
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking aead v0.4.3
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking time v0.3.14
[INFO] [stderr]     Checking aes-gcm v0.9.4
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking hkdf v0.12.3
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.33
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling pear_codegen v0.2.3
[INFO] [stderr]    Compiling ref-cast-impl v1.0.9
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror v1.0.33
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking spin v0.9.4
[INFO] [stderr]    Compiling uncased v0.9.7
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling ucd-trie v0.1.5
[INFO] [stderr]    Compiling pest v2.3.1
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]     Checking tokio-util v0.7.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling devise_core v0.3.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-io v0.3.24
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]    Compiling paste v1.0.9
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling iana-time-zone v0.1.47
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling pear v0.2.3
[INFO] [stderr]    Compiling chrono v0.4.22
[INFO] [stderr]    Compiling devise_codegen v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling sqlformat v0.1.8
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]    Compiling futures v0.3.24
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]     Checking serde_json v1.0.85
[INFO] [stderr]     Checking h2 v0.3.14
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]     Checking tokio-stream v0.1.9
[INFO] [stderr]    Compiling sqlx-rt v0.5.13
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling pest_meta v2.3.1
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]    Compiling webpki-roots v0.21.1
[INFO] [stderr]    Compiling futures-executor v0.3.24
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling atomic v0.5.1
[INFO] [stderr]    Compiling multer v2.0.3
[INFO] [stderr]    Compiling figment v0.10.7
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling state v0.5.3
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking psl-types v2.0.11
[INFO] [stderr]    Compiling sqlx-core v0.5.13
[INFO] [stderr]     Checking publicsuffix v2.2.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling rocket_http v0.5.0-rc.2
[INFO] [stderr]    Compiling pest_generator v2.3.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]    Compiling devise v0.3.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling rocket v0.5.0-rc.2
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling pest_derive v2.3.1
[INFO] [stderr]    Compiling rocket_codegen v0.5.0-rc.2
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking cookie_store v0.16.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ubyte v0.10.3
[INFO] [stderr]    Compiling strum_macros v0.21.1
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking binascii v0.1.4
[INFO] [stderr]     Checking reqwest v0.11.11
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking handlebars v4.3.4
[INFO] [stderr]    Compiling sqlx-macros v0.5.13
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking strum v0.21.0
[INFO] [stderr]     Checking sqlx v0.5.13
[INFO] [stderr]     Checking clipstash v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> src/lib/data/query.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |       Ok(sqlx::query_as!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 14 | |         model::Clip,
[INFO] [stdout] 15 | |         "SELECT * FROM clips WHERE shortcode = ?",
[INFO] [stdout] 16 | |         shortcode
[INFO] [stdout] 17 | |       )
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> src/lib/data/query.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 26 | |         r#"INSERT INTO clips (
[INFO] [stdout] 27 | |             clip_id,
[INFO] [stdout] 28 | |             shortcode,
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |         model.password,
[INFO] [stdout] 43 | |         0)
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> src/lib/data/query.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 53 | |         r#"UPDATE clips SET
[INFO] [stdout] 54 | |                 content = ?,
[INFO] [stdout] 55 | |                 expires = ?,
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |         model.shortcode
[INFO] [stdout] 64 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> src/lib/data/query.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 |       Ok(sqlx::query!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 74 | |          "UPDATE clips SET hits = hits + ? WHERE shortcode = ?",
[INFO] [stdout] 75 | |          hits,
[INFO] [stdout] 76 | |          shortcode
[INFO] [stdout] 77 | |        )
[INFO] [stdout]    | |________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> src/lib/data/query.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let _ = sqlx::query!("INSERT INTO api_keys (api_key) VALUES (?)", bytes)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]    --> src/lib/data/query.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 |     Ok(sqlx::query!("DELETE FROM api_keys where api_key == ?", bytes)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]    --> src/lib/data/query.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 |     Ok(sqlx::query!(r#"DELETE FROM clips WHERE strftime('%s', 'now') > expires"#)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> src/lib/data/query.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |       Ok(sqlx::query_as!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 14 | |         model::Clip,
[INFO] [stdout] 15 | |         "SELECT * FROM clips WHERE shortcode = ?",
[INFO] [stdout] 16 | |         shortcode
[INFO] [stdout] 17 | |       )
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> src/lib/data/query.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 26 | |         r#"INSERT INTO clips (
[INFO] [stdout] 27 | |             clip_id,
[INFO] [stdout] 28 | |             shortcode,
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |         model.password,
[INFO] [stdout] 43 | |         0)
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> src/lib/data/query.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 53 | |         r#"UPDATE clips SET
[INFO] [stdout] 54 | |                 content = ?,
[INFO] [stdout] 55 | |                 expires = ?,
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |         model.shortcode
[INFO] [stdout] 64 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> src/lib/data/query.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 |       Ok(sqlx::query!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 74 | |          "UPDATE clips SET hits = hits + ? WHERE shortcode = ?",
[INFO] [stdout] 75 | |          hits,
[INFO] [stdout] 76 | |          shortcode
[INFO] [stdout] 77 | |        )
[INFO] [stdout]    | |________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]   --> src/lib/data/query.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let _ = sqlx::query!("INSERT INTO api_keys (api_key) VALUES (?)", bytes)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]    --> src/lib/data/query.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 |     Ok(sqlx::query!("DELETE FROM api_keys where api_key == ?", bytes)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: unable to open database file
[INFO] [stdout]    --> src/lib/data/query.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 |     Ok(sqlx::query!(r#"DELETE FROM clips WHERE strftime('%s', 'now') > expires"#)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `derive_more::Constructor`
[INFO] [stdout]  --> src/lib/service/ask.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use derive_more::Constructor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::uri::fmt::UriQueryArgument::Raw`
[INFO] [stdout]  --> src/lib/web/http.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rocket::http::uri::fmt::UriQueryArgument::Raw;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::Database`
[INFO] [stdout]  --> src/lib/web/http.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::data::Database;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `service`
[INFO] [stdout]  --> src/lib/web/http.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{Db, HitCounter, service};
[INFO] [stdout]   |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::clip::field::Content`
[INFO] [stdout]   --> src/lib/web/http.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::domain::clip::field::Content;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Receiver`
[INFO] [stdout]  --> src/lib/web/hit_counter.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crossbeam_channel::{unbounded, Receiver, Sender};
[INFO] [stdout]   |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::async_trait`
[INFO] [stdout]   --> src/lib/web/hit_counter.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rocket::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ShortCode`
[INFO] [stdout]   --> src/lib/web/api.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{service, ShortCode};
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]    --> src/lib/data/query.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |     use chrono::Utc;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Utc` is imported redundantly
[INFO] [stdout]    --> src/lib/data/query.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |     use chrono::Utc;
[INFO] [stdout]     |         ----------- the item `Utc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 146 |         use chrono::Utc;
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::uri::fmt::Kind::Path`
[INFO] [stdout]   --> src/lib/data/mod.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use rocket::http::uri::fmt::Kind::Path;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::migrate::Migrator`
[INFO] [stdout]   --> src/lib/data/mod.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use sqlx::migrate::Migrator;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Migrator` is imported redundantly
[INFO] [stdout]   --> src/lib/data/mod.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use sqlx::migrate::Migrator;
[INFO] [stdout]    |         ----------------------- the item `Migrator` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 87 |         use sqlx::migrate::Migrator;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `derive_more::Constructor`
[INFO] [stdout]  --> src/lib/service/ask.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use derive_more::Constructor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::uri::fmt::UriQueryArgument::Raw`
[INFO] [stdout]  --> src/lib/web/http.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rocket::http::uri::fmt::UriQueryArgument::Raw;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::Database`
[INFO] [stdout]  --> src/lib/web/http.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::data::Database;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `service`
[INFO] [stdout]  --> src/lib/web/http.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{Db, HitCounter, service};
[INFO] [stdout]   |                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::clip::field::Content`
[INFO] [stdout]   --> src/lib/web/http.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::domain::clip::field::Content;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value::String`
[INFO] [stdout]    --> src/lib/web/http.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |     use serde_json::Value::String;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Receiver`
[INFO] [stdout]  --> src/lib/web/hit_counter.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crossbeam_channel::{unbounded, Receiver, Sender};
[INFO] [stdout]   |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::async_trait`
[INFO] [stdout]   --> src/lib/web/hit_counter.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rocket::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ShortCode`
[INFO] [stdout]   --> src/lib/web/api.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{service, ShortCode};
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Renderer`
[INFO] [stdout]   --> src/lib/web/mod.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use crate::{Renderer, RocketConfig};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Renderer` is imported redundantly
[INFO] [stdout]   --> src/lib/web/mod.rs:47:51
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use crate::{Renderer, RocketConfig};
[INFO] [stdout]    |                 -------- the item `Renderer` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 47 |         use crate::web::{hit_counter::HitCounter, renderer::Renderer};
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `clipstash` (lib) due to 8 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 7 previous errors; 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `clipstash` (lib test) due to 8 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9e440f2e40de203faf1b434e0690221d0679bfbcbef9edf0bc8c2580a5fec7b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e440f2e40de203faf1b434e0690221d0679bfbcbef9edf0bc8c2580a5fec7b7", kill_on_drop: false }`
[INFO] [stdout] 9e440f2e40de203faf1b434e0690221d0679bfbcbef9edf0bc8c2580a5fec7b7
